package com.atguigu.gulimall.ware.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @Author yanjingren
 * @Date 2021/7/7
 * @Description com.atguigu.gulimall.ware.feign
 */
@FeignClient(name = "gulimall-member")
public interface MemberFeignService {

    @RequestMapping("/member/useraddress/info/{id}")
    R addrInfo(@PathVariable("id") Long id);

}
